Used to specify the target application that will receive an Apple Event.
Syntax |
|---|
|
result = NewAppleEventTarget( Name, Computer, Zone, PortType ) |
Parameters |
||
|---|---|---|
|
Name |
Name of target application. |
|
|
Computer |
Computer on which the app is installed. |
|
|
Zone |
Appletalk zone |
|
|
PortType |
Four character Creator code identifying the target application. |
|
Return Value |
||
|---|---|---|
|
Result |
Object representing Apple Event Target |
|
Example
Dim apptarget as AppleEventTarget
apptarget=NewAppleEventTarget("Mailsmith 1.1","Daystar","*","BLTO")
apptarget=NewAppleEventTarget("Mailsmith 1.1","Daystar","*","BLTO")
This example targets the Mailsmith application running on the Daystar computer.
See Also
AppleEvent class.